package cn.xhjava.crm.settings.controller;

import cn.xhjava.crm.commons.ReturnObject;
import cn.xhjava.crm.commons.SysContants;
import cn.xhjava.crm.commons.util.DateUtils;
import cn.xhjava.crm.settings.domain.User;
import cn.xhjava.crm.settings.service.UserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * Author:   XiaHu
 * Date:     2023/6/20
 * 系统设置
 */
@Controller
public class SettingContoller {
    private static final Logger log = LoggerFactory.getLogger(SettingContoller.class);

    @RequestMapping("/settings/index")
    public String index() {
        //请求转发到登录页面
        return "settings/index";
    }

    @RequestMapping("/settings/dictionary/index")
    public String dictionaryIndex() {
        //请求转发到登录页面
        return "settings/dictionary/index";
    }
}
